  package com.yidu.drug.dao;

import java.util.List;

import com.yidu.drug.model.DrugRoleModel;
import com.yidu.drug.model.DrugRoleModuleModel;

public interface DrugRoleModuleModelMapper {
    int deleteByPrimaryKey(String rmId);

    int insert(DrugRoleModuleModel record);

    int insertSelective(DrugRoleModuleModel record);

    DrugRoleModuleModel selectByPrimaryKey(String rmId);

    int updateByPrimaryKeySelective(DrugRoleModuleModel record);

    int updateByPrimaryKey(DrugRoleModuleModel record);

	int deleteByRoleId(String id);

	List<DrugRoleModuleModel> findRoleModule(String roleId);
}